package cn.yhbk.web.modules.manager.Mapper;

import cn.yhbk.web.modules.manager.Pojo.DTO.Grade.GradeParam;
import cn.yhbk.web.modules.manager.Pojo.Entity.TbGrade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 年级表 Mapper 接口
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@Mapper
public interface TbGradeMapper extends BaseMapper<TbGrade> {

    List<TbGrade> getGradeAll();

    List<GradeParam> getGradeIdAndNameAll();
}
